import request from '@/utils/request'


export function getBasicDataByCode(params) {
    return request({
        url: `/adm/v1/basicData/getBasicDataByCode`,
        method: 'get',
        params,
    })
}

export function updateBasicDataById(params) {
    return request({
        url: `/adm/v1/basicData/updateBasicDataById`,
        method: 'post',
        data: params,
    })
}

export function updateBasicDataByIdList(params) {
    return request({
        url: `/adm/v1/basicData/updateBasicDataByIdList`,
        method: 'post',
        data: params,
    })
}


export function insertBasicData(params) {
    return request({
        url: `/adm/v1/basicData/insertBasicData`,
        method: 'post',
        data: params,
    })
}
